/*
 * @Author: your name
 * @Date: 2022-02-12 12:15:58
 * @LastEditTime: 2022-02-15 21:57:35
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue3.2\src\main.js
 */
import {
  createApp
} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './styles/index.scss'
import SvgIcon from './icons'
import 'element-plus/dist/index.css'
import './router/pemission'
import * as ELIcons from '@element-plus/icons-vue'
import i18n from './i18n'
import filters from './utils/filters'

const app = createApp(App)
for (const iconName in ELIcons) {
  app.component(iconName, ELIcons[iconName])
}
filters(app)

SvgIcon(app)
app.use(store).use(router).use(i18n).mount('#app')
